package com.tang.model;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/9/8 20:41
 * @Desc
 * @Remarks
 */
public class Test {

    public static void main(String[] args) {
        IDiscountStrategy cash = DiscountStrategyFactory.getStrategy("group");
        cash.discount();

    }

}
